package com.mdd.common.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.hpsf.Decimal;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("师傅接单实体")
public class OrderAccept implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "订单ID")
    private Integer orderId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "管理ID")
    private String adminId;

    @ApiModelProperty(value = "订单编号")
    private String orderSn;

    @ApiModelProperty(value = "下单人名")
    private String contact;

    @ApiModelProperty(value = "联系方式")
    private String mobile;

    @ApiModelProperty(value = "接单状态:已接单(待预约)0/预约失败1/已超时2/服务中（已预约）/3待收款(已完成服务)/4交易成功/5关闭交易")
    private Integer status;

    @ApiModelProperty(value = "师傅上传图片地址")
    private String  image;
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "客户评价")
    private String evaluate;

    @ApiModelProperty(value = "客户评分")
    private Integer rating;

    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @ApiModelProperty(value = "更新时间")
    private Long updateTime;

    @ApiModelProperty(value = "删除时间")
    private Long deleteTime;

    @ApiModelProperty("删除状态: [1=是, 0=否]")
    private Integer isDelete;

    @ApiModelProperty("服务开始时间")
    private String startDateTime;

    @ApiModelProperty("服务结束时间")
    private String endDateTime;

    @ApiModelProperty("大师线下收款金额")
    private BigDecimal offlineMoney;
}